]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
scroll-view-fade: Use GLSL 1.20
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 28 Nov 2012 22:55:46 +0000 (17:55 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 29 Nov 2012 21:17:09 +0000 (16:17 -0500)
GLSL 1.20 is a better language, and we'll rely on it in future updates.
This doesn't have any additional constraints, since GLSL 1.20 was
standardized before GLSL-supporting drivers came out.

https://bugzilla.gnome.org/show_bug.cgi?id=689249

src/st/st-scroll-view-fade.glsl

index 9248fa6f0af4dd355889062f171e434585150a1c..4b07642adad3beea2999893a1137c601d9116e5a 100644 (file)
@@ -17,6 +17,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#version 120
+
 uniform sampler2D tex;
 uniform float height;
 uniform float width;